/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.encapsulation.service.internal;

import za.ac.cput.encapsulation.model.BankAccount;
import za.ac.cput.encapsulation.service.BankService;

/**
 *
 * @author Enkosi
 */
public class BankAccountServiceImpl implements BankService{
    @Override
    public boolean printDetails(BankAccount bankAccount){
        if(bankAccount == null)
            return false;
        System.out.println("Details : " + bankAccount + " " + bankAccount.getAmount());
        return true;
    }
}
